package com.party.business.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.party.common.annotation.Excel;

import com.party.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 课程学习记录对象 t_kcview_record
 *
 * @author ruoyi
 * @date 2024-11-19
 */
@Data
@TableName(value = "t_kcview_record")
@EqualsAndHashCode(callSuper = true)
public class TKcviewRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /**
     * "课程Id"
     */
    @Excel(name = "课程Id")
    private String kcId;

    /**
     * "用户Id"
     */
    @Excel(name = "用户Id")
    private String userId;

    /**
     * "时间"
     */
    @Excel(name = "时间")
    private Long times;

    /**
     * "视频文件Id"
     */
    @Excel(name = "视频文件Id")
    private String fileId;

    /**
     * "开始时间"
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startDate;

    /**
     * "结束时间"
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endDate;

    private String delFlag;


    /**
     * "用户名称"
     */
    @TableField(exist = false)
    private String username;

    /**
     * "课程名称"
     */
     @TableField(exist = false)
    private String kcName;



}
